#ifndef FORM_H
#define FORM_H

#include <QWidget>

namespace Ui {
class Form;
}

class Form : public QWidget
{
    Q_OBJECT

public:
    explicit Form(QWidget *parent = 0);
    ~Form();

    void init(int x, int y, int w, int h, int nw, int nh);

    void paintEvent(QPaintEvent *event);

private:
    Ui::Form *ui;
    int nwidth;
    int nheight;
};

#endif // FORM_H
